package com.xtinno.service;

import com.dtflys.forest.annotation.*;
import com.xtinno.pojo.DocumentParagraphDTO;
import com.xtinno.pojo.ResponseData;
import org.springframework.stereotype.Service;

/**
 * 封装底层数据分析的请求
 *
 * @author GuanLei
 * @time 2025/5/20 9:17
 */
@BaseRequest(baseURL = "#{data.analysis.url}")
@Service
public interface DataAnalysisService {


    /**
     * 获取文书段落
     *
     * @param caseId 案件ID
     * @param documentType 文书类型
     */
    @Post(url = "/analysiscapacity/v1/paragraphbysearch/{caseid}/{wenshulx}")
    ResponseData<DocumentParagraphDTO> getDocumentParagraph(@Var("caseid") String caseId, @Var("wenshulx")String documentType);
}
